package com.chalk.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaoqiang
 * @Description
 * @date 2019/4/2 12:18
 */
@Data
public class ItemVo {

    /**
     * 商品id
     */
    @ApiModelProperty(name = "itemId", value = "商品id")
    private String itemId;

    /**
     * 商品标题
     */
    @ApiModelProperty(name = "itemTitle", value = "商品标题")
    private String itemTitle;

    /**
     * 商品子标题
     */
    @ApiModelProperty(name = "itemSubTitle", value = "商品子标题")
    private String itemSubTitle;

    /**
     * 已售
     */
    @ApiModelProperty(name = "salesNum", value = "已售")
    private Integer salesNum;

    /**
     * 市场价
     */
    @ApiModelProperty(name = "marketPrice", value = "市场价")
    private Double marketPrice;

    /**
     * 默认图片url
     */
    @ApiModelProperty(name = "defaultPicUrl", value = "默认图片url")
    private String defaultPicUrl;

    /**
     * 是否虚拟商品（1、是，0、不是，默认0）
     */
    @ApiModelProperty(name = "isNew", value = "是否虚拟商品（1、是，0、不是，默认0）")
    private Integer isNew;

    /**
     * 是否热卖品（1、热卖，0、非热卖，默认0）
     */
    @ApiModelProperty(name = "isSellingHot", value = "是否热卖品（1、热卖，0、非热卖，默认0）")
    private Integer isSellingHot;

    /**
     * 是否进口商品（1、进口，0、非进口，默认0）
     */
    @ApiModelProperty(name = "isImported", value = "是否进口商品（1、进口，0、非进口，默认0）")
    private Integer isImported;

    /**
     * 批发价
     */
    @ApiModelProperty(name = "wholesalePrice", value = "批发价")
    private Double wholesalePrice;

    /**
     * 批发价
     */
    @ApiModelProperty(name = "sellerId", value = "卖家ID")
    private String sellerId;

    /**
     * 是否新品
     */
    @ApiModelProperty(name = "newItem", value = "是否新品 0：否 1：是")
    private String newItem;

    /*属性id数组*/
    private String propIds;
    /*品牌ID*/
    private String brandId;

    @ApiModelProperty(name = "minPrice", value = "最低价格")
    private double minPrice;
    /**
     * 商品类型（0：普通 1：积分商品）
     */
    @ApiModelProperty(name = "itemType", value = "商品类型（0：普通 1：积分商品）")
    private Integer itemType;
    /**
     * 是否可分销（0：不可 1：可以 默认 0）
     */
    @ApiModelProperty(name = "isDistribution", value = "是否可分销（0：不可 1：可以 默认 0）")
    @TableField("is_distribution")
    private Integer isDistribution;

    /**
     * 商品来源(0:平台 1:商家)
     */
    @ApiModelProperty(name = "itemSource", value = "商品来源(0:平台 1:商家)")
    private Integer itemSource;

    /**
     * 运费
     */
    @ApiModelProperty(name = "freight", value = "运费")
    private Double freight;

    /**
     * 积分
     */
    @ApiModelProperty(name = "integralPrice", value = "积分")
    private Double integralPrice;

    /**
     * 计量单位
     */
    @ApiModelProperty(name = "unit", value = "计量单位")
    @TableField("unit")
    private String unit;

    /**
     * 重量（单位：千克）
     */
    @ApiModelProperty(name = "weight", value = "重量（单位：千克）")
    @TableField("weight")
    private Double weight;

    /**
     * 体积（单位：立方米）
     */
    @ApiModelProperty(name = "volume", value = "体积（单位：立方米）")
    @TableField("volume")
    private Double volume;

    /**
     * 包装信息
     */
    @ApiModelProperty(name = "packInfo", value = "包装信息")
    @TableField("pack_info")
    private String packInfo;

    /**
     * 售后信息
     */
    @ApiModelProperty(name = "afterSaleInfo", value = "售后信息")
    @TableField("after_sale_info")
    private String afterSaleInfo;
}
